package satir.cell.factory;

import satir.cell.Cell;
import satir.cell.EventCell;
import satir.framework.LazyInitiator;

/**
 * A factory for creating EventCell objects.
 * 
 * @version 2.0 February 2012
 * @author Chris Chan
 */
public class EventCellFactory extends CellFactory {

	/**
	 * Create event cell object.
	 *
	 * @return the event cell object
	 */
	@Override
	public Cell createCell() {
		deck = LazyInitiator.getDeck("EventCard");
		return new EventCell(width, height, borderHorizontal, borderVertical, deck);
	}
}